<div id="offer">
    <div class="container">
        <div class="row content">
            @if(!isset($no_title))
                <div class="col-md-3 left-content">
                    <p>快速注册域名</p>
                </div>
            @endif
            <div class="col-md-9 right-content">
                <div class="row">
                    <div class="col-md-8">
                        <!-- Offer Form Start -->
                        <form action="{{ plugin_route('hostserver.domain.index') }}" method="get" id="domainSearchForm">
                            <div class="row reset-gutter">
                                <div class="col-sm-9">
                                    <input class="form-control" value="{{ request()->input('domain') }}" name="domain"
                                           type="text"
                                           placeholder="输入你想要注册的域名">
                                </div>

                                <div class="col-sm-3">
                                    <button class="btn submit-button-custom" type="submit">搜索</button>
                                </div>
                            </div>
                        </form>
                        <!-- Offer Form End -->
                        {{--  <div class="domain--offer show">
                              <span>今天打九折注册域名</span>
                          </div>--}}
                    </div>
                    <div class="col-md-4 hidden-sm hidden-xs">
                        <div class="row domain-ext hidden-xs">
                            @php
                                $domain=\App\Plugin\HostServer\Models\PnHostSvDomain::domain();
                            @endphp
                            @if(!empty($domain))
                                @foreach($domain as $k=>$v)

                                    @if($k<3)
                                        <div class="col-sm-4">
                                            <div class="extension">
                                                <span class="name">{{ $v['name'] }}</span>
                                                <span>{{ pn_host_server_sale_price($v['register_money']) }}元</span>
                                            </div>
                                        </div>
                                    @endif
                                @endforeach
                            @endif


                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
